<html>
<head>
<title>Add member_condition</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<link media="all" href="/cms/css/cms.min.css" type="text/css" rel="stylesheet" /> 
<link rel="stylesheet" type="text/css" href="/cms/css/tag/token-input.css" />
<script  type="text/javascript" src="/cms/js/cms.1.1.min.js"></script>
<script type="text/javascript" src="/cms/js/tag/jquery.tokeninput.js"></script> 
<script language="JavaScript" src="/cms/js/cleditor/jquery.cleditor.min.js"></script>
<script language="JavaScript" src="/cms/js/jquery.validate.js"></script>
<script language="JavaScript" src="/cms/js/autocomplete/textarea.js"></script>

</head>

<body>
{#include file="$navigation"#}
<div style="float:right;" id="login"></div>

<script>
$(document).ready(function() {	

});	
  function validate_form(form){
	  if (validator.form())  form.submit(); else alert('Some fields has error. Please check and resubmit');
  }
</script>

<H1><span id="parent_key_label"></span>Member condition</H1>
<form name="form_showadd" method="post" id="form_showadd" action="{#$self_url#}" >	
<div class='tableWrapper' style="width:100%;margin:0;padding:0;">
  <div class='tableHeader' >

	<ul class="tableActions">
  <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存 " onclick="form.subaction.value='edit_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" type="submit" name="Submit" value=" 確定 "></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存並新增 " onclick="form.subaction.value='showadd_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="dummy" value=" 取消 " size="3" onclick="javascript:window.location.href='{#$self_url#}/list'" type="button"></li>
	</ul>

  <div class='clear'></div>
  <div class='corner left'></div>
  <div class='corner right'></div>
  </div>	
<table border="0" cellspacing='0' >

<tr id="tr_mid"><td><B>會員編號</B></td>
<td id="td_mid">{#$showadd_data.mid#}</td></tr>
<tr id="tr_interest"><td><B>interest</B></td>
<td id="td_interest"><input id="field_interest" type="text" name="interest" value=""></td></tr>
<tr id="tr_address"><td><B>address</B></td>
<td id="td_address"><input id="field_address" type="text" name="address" value=""></td></tr>
<tr id="tr_homepage"><td><B>homepage</B></td>
<td id="td_homepage"><input id="field_homepage" type="text" name="homepage" value=""></td></tr>
<tr id="tr_profession"><td><B>profession</B></td>
<td id="td_profession">{#$showadd_data.profession#}</td></tr>
<tr id="tr_age_group"><td><B>age_group</B></td>
<td id="td_age_group">{#$showadd_data.age_group#}</td></tr>
<tr id="tr_body"><td><B>內容</B></td>
<td id="td_body">{#$showadd_data.body#}</td></tr>
<tr id="tr_face_skin"><td><B>face_skin</B></td>
<td id="td_face_skin">{#$showadd_data.face_skin#}</td></tr>
<tr id="tr_body_skin"><td><B>body_skin</B></td>
<td id="td_body_skin">{#$showadd_data.body_skin#}</td></tr>
<tr id="tr_hair"><td><B>hair</B></td>
<td id="td_hair">{#$showadd_data.hair#}</td></tr>
<tr id="tr_question"><td><B>question</B></td>
<td id="td_question"><input id="field_question" type="text" name="question" value=""></td></tr>
<tr id="tr_marital_status"><td><B>marital_status</B></td>
<td id="td_marital_status">{#$showadd_data.marital_status#}</td></tr>
<tr id="tr_brand"><td><B>brand</B></td>
<td id="td_brand"><input id="field_brand" type="text" name="brand" value=""></td></tr>
<tr id="tr_product_layout_category"><td><B>product_layout_category</B></td>
<td id="td_product_layout_category"><input id="field_product_layout_category" type="text" name="product_layout_category" value=""></td></tr>
<tr id="tr_check_status"><td><B>check_status</B></td>
<td id="td_check_status">{#$showadd_data.check_status#}</td></tr>
<tr id="tr_status"><td><B>status</B></td>
<td id="td_status">{#$showadd_data.status#}</td></tr>
<tr id="tr_addtime"><td><B>建立時間</B></td>
<td id="td_addtime"><input id="field_addtime" type="text" name="addtime" value=""></td></tr>
<tr id="tr_updatetime"><td><B>更新時間</B></td>
<td id="td_updatetime"><input id="field_updatetime" type="text" name="updatetime" value=""></td></tr>
<tr id="tr_blogPage"><td><B>blogPage</B></td>
<td id="td_blogPage"><input id="field_blogPage" type="text" name="blogPage" value=""></td></tr>
<tr id="tr_phone"><td><B>phone</B></td>
<td id="td_phone"><input id="field_phone" type="text" name="phone" value=""></td></tr>
<tr id="tr_birthday"><td><B>birthday</B></td>
<td id="td_birthday"><input id="field_birthday" type="text" name="birthday" value=""></td></tr>
<tr id="tr_code"><td><B>code</B></td>
<td id="td_code"><input id="field_code" type="text" name="code" value=""></td></tr>
<tr id="tr_reportURL"><td><B>reportURL</B></td>
<td id="td_reportURL"><input id="field_reportURL" type="text" name="reportURL" value=""></td></tr>
<tr id="tr_photo"><td><B>photo</B></td>
<td id="td_photo"><input id="field_photo" type="text" name="photo" value=""></td></tr>

  <tr>
    <td>&nbsp;</td>
    <td>
     	
    <input type="hidden" name="action" value="add"><input name="subaction" type="hidden">
     <ul class="tableActions">
    <li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存 " onclick="form.subaction.value='edit_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" type="submit" name="Submit" value=" 確定 "></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="Submit" value=" 儲存並新增 " onclick="form.subaction.value='showadd_after_add'; form.submit();" type="button"></li><li><input class="psbutton" onmouseover="this.className='psbuttonhover'" onmouseout="this.className='psbutton'" name="dummy" value=" 取消 " size="3" onclick="javascript:window.location.href='{#$self_url#}/list'" type="button"></li>
    </ul>
  </td>
  </tr>
</table>

</form>

<script type="text/javascript"> 	
$(function(){
  $(".tips").tipTip({defaultPosition: "right", edgeOffset: 10});
}); 
</script>

<!--POSTRUNJS-->
</body>
</html>
